package com.glsc.ngateway.netgateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@EnableEurekaClient
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@ComponentScan(basePackages = {"com.glsc.ngateway.netgateway", "com.glsc.ngateway.common.api.ldap"})
@EnableFeignClients(basePackageClasses = {com.glsc.ngateway.common.api.ldap.feign.IFeignLdapService.class})
public class AppNetGatewayApplication {

    public static void main(String[] args) {
        SpringApplication.run(AppNetGatewayApplication.class, args);
    }

}
